#!/usr/bin/env python
# -*- coding:utf-8 -*-

from flask_restful import Api

from . import verifycode_blueprint
from api_1_0.verifyCodeResource.verifyCodeResource import VerifyCodeResource
from api_1_0.verifyCodeResource.verifyCodeOtherResource import VerifyCodeOtherResource

api = Api(verifycode_blueprint)


@verifycode_blueprint.route('/verify-code', methods=['GET'], endpoint='CreateVerifyCode')
def create_verify_code():
    return VerifyCodeOtherResource.create_verify_code()
